package cn.spy.threaddownload.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "download")
@Component
public class DownloadConfig {
    // 临时文件夹
    private String tempDir;
    // 文件切割的段数
    private Integer filePartNum;
    // 输出文件的文件夹
    private String outFileDir;
}
